#include "MainWindowLogin.h"
#include "ui_MainWindowLogin.h"

MainWindowLogin::MainWindowLogin(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindowLogin)
{
    ui->setupUi(this);
}

MainWindowLogin::~MainWindowLogin()
{
    delete ui;
}

void MainWindowLogin::on_btnBack_clicked()
{
    QWidget* parent = this->parentWidget();
    if(!parent)     return ;
    parent->show();
    this->hide();
}

void MainWindowLogin::on_btnClose_2_clicked()
{
    QWidget* parent = this->parentWidget();
    if(!parent)     return ;
    parent->close();
}
